projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aacc371
)
* src/frame.c (gui_set_border_width): Revert confused changes
author
Yuuki Harano
<masm+github@masm11.me>
Sun, 5 Dec 2021 15:39:36 +0000
(
00:39
+0900)
committer
Yuuki Harano
<masm+github@masm11.me>
Sun, 5 Dec 2021 15:39:36 +0000
(
00:39
+0900)
src/frame.c
patch
|
blob
|
history
diff --git
a/src/frame.c
b/src/frame.c
index 98f1b80e423e4f28a92efa5a070a1a441c77c268..2b06bc821d06219c0b2807c2329345a0d1362a47 100644
(file)
--- a/
src/frame.c
+++ b/
src/frame.c
@@
-4788,17
+4788,10
@@
gui_set_border_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
if (border_width == f->border_width)
return;
-#ifndef HAVE_PGTK
if (FRAME_NATIVE_WINDOW (f) != 0)
error ("Cannot change the border width of a frame");
-#endif
f->border_width = border_width;
-
-#ifdef HAVE_PGTK
- if (FRAME_TERMINAL (f)->frame_rehighlight_hook)
- (*FRAME_TERMINAL (f)->frame_rehighlight_hook) (f);
-#endif
}
void